<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
  <a id="top"></a>
<!-- target:目标  -->
<!-- target=_blank 开启新的窗口显示该页面,如果不写默认是从当前窗口跳转 -->
    <a href="http://baidu.com"target="_blank">超链接</a>
    <a href=../imgs/1.jpg>点击跳转百度</a>
    
<!--如果a标签包裹文本内容则是文本超链接,如果包裹图片则是图片超链接  -->
    <a href=../imgs/3.jpg>
       <img src="../imgs/timg.gif">
           </a> 
           <hr>
           
<!--页面内部跳转 :
     1.设置锚点用于定位 <a id="top"> </a>
     2.通过超链接跳转到锚的位置  
    -->
   
   这是一个凄美的爱情故事 猫爱上了老鼠<br>
      ......<br>........<br>
       ......<br>........<br>
        ......<br>........<br>
         ......<br>........<br>
          ......<br>........<br>
           ......<br>........<br>
            ......<br>........<br>
             ......<br>........<br>
              ......<br>........<br>
               ......<br>........<br>
                ......<br>........<br>
                 ......<br>........<br>
                  ......<br>........<br>
                   ......<br>........<br>
                    ......<br>........<br>
                 结果猫把老鼠吃了,故事结束。<a href="#top">回到顶部</a>
                 
         
</body>
</html>